import { useState } from "react";
import { View, Text } from "@tarojs/components";
import { useLoad } from "@tarojs/taro";
import Info from "@/components/Info/index";
import "./index.scss";

export default function Index() {
  const [cell, setCell] = useState([{ key: "测试", value: "李嘉诚" }]);
  useLoad(() => {});

  return (
    <View className="index">
      <Text>Hello world!</Text>
      <Info title="测试" cell={cell} />
    </View>
  );
}
